400
Can I change the format of date to be shown in the control

EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("Default");
	EXLISTLib.Column var_Column = (var_Columns.Add("Format.1") as EXLISTLib.Column);
		var_Column.ComputedField = "%0";
		var_Column.FormatColumn = "dateF(value) replace `/` with `-`";
	EXLISTLib.Column var_Column1 = (var_Columns.Add("Format.2") as EXLISTLib.Column);
		var_Column1.ComputedField = "%0";
		var_Column1.set_Def(EXLISTLib.DefColumnEnum.exCaptionFormat,1);
		var_Column1.FormatColumn = "`<b>`+ shortdate(value) + `</b> ` + timeF(value)";
	EXLISTLib.Column var_Column2 = (var_Columns.Add("Format.3") as EXLISTLib.Column);
		var_Column2.ComputedField = "%0";
		var_Column2.set_Def(EXLISTLib.DefColumnEnum.exCaptionFormat,1);
		var_Column2.FormatColumn = "( dateF(value) replace `/` with `-` ) + ` <b>`+ ( weekday(value) case ( 0 : `Su`; 1 : `Mo`; 2 : `Tu`; 3 : `We`; 4 : `Th`; 5 : `" +
"Fr`; 6 : `Sa`) )";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("1/2/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

399
How can I put a picture on the cell's background (method 3)

axList1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axList1.VisualAppearance.Add(2,"CP:1 0 0 -164 0");
EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("column");
	EXLISTLib.Column var_Column = (var_Columns.Add("column") as EXLISTLib.Column);
		var_Column.Alignment = EXLISTLib.AlignmentEnum.CenterAlignment;
		var_Column.HeaderAlignment = EXLISTLib.AlignmentEnum.CenterAlignment;
EXLISTLib.Items var_Items = axList1.Items;
	int i = var_Items.Add(null);
	var_Items.set_SelectableItem(i,false);
	var_Items.set_Caption(i,1,"caption");
	var_Items.set_CellBackColor(i,1,0x2000000);

398
How can I put a picture on the cell's background (method 2)

axList1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("column");
	var_Columns.Add("column");
EXLISTLib.Items var_Items = axList1.Items;
	int i = var_Items.Add(null);
	var_Items.set_SelectableItem(i,false);
	var_Items.set_Caption(i,1,"caption");
	var_Items.set_CellBackColor(i,1,0x1000000);
	var_Items.set_CellPicture(i,1,(axList1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\auction.gif`)") as stdole.IPictureDisp));
	var_Items.set_CellPictureWidth(i,1,128);
	var_Items.set_CellPictureHeight(i,1,axList1.DefaultItemHeight);

397
How can I put a picture on the cell's background (method 1)

axList1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("column");
	EXLISTLib.Column var_Column = (var_Columns.Add("column") as EXLISTLib.Column);
		var_Column.Alignment = EXLISTLib.AlignmentEnum.CenterAlignment;
		var_Column.HeaderAlignment = EXLISTLib.AlignmentEnum.CenterAlignment;
EXLISTLib.Items var_Items = axList1.Items;
	int i = var_Items.Add(null);
	var_Items.set_SelectableItem(i,false);
	var_Items.set_Caption(i,1,"caption");
	var_Items.set_CellBackColor(i,1,0x1000000);

396
How do I access the cells, or how do I get the values in the columns

EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("Item 1");
	var_Items.set_Caption(h,1,"SubItem 1.1");
	var_Items.set_Caption(h,2,"SubItem 1.2");
	System.Diagnostics.Debug.Print( var_Items.get_Caption(h,2).ToString() );

395
How can I apply the same ConditionalFormat on more than 1(one) column (multiple columns and not on item)

axList1.BeginUpdate();
EXLISTLib.ConditionalFormat var_ConditionalFormat = axList1.ConditionalFormats.Add("1","K1");
	var_ConditionalFormat.BackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
	var_ConditionalFormat.ApplyTo = (EXLISTLib.FormatApplyToEnum)0x1;
EXLISTLib.ConditionalFormat var_ConditionalFormat1 = axList1.ConditionalFormats.Add("1","K2");
	var_ConditionalFormat1.BackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
	var_ConditionalFormat1.ApplyTo = (EXLISTLib.FormatApplyToEnum)0x2;
axList1.MarkSearchColumn = false;
axList1.DrawGridLines = (EXLISTLib.GridLinesEnum)0xfffffffc | EXLISTLib.GridLinesEnum.exVLines;
EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("Column 1");
	var_Columns.Add("Column 2");
	var_Columns.Add("Column 3");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add(null);
	var_Items.Add(null);
	var_Items.Add(null);
axList1.EndUpdate();

394
How can I get the list of items as they are displayed

axList1.BeginUpdate();
axList1.BackColorAlternate = Color.FromArgb(240,240,240);
axList1.Columns.Add("Names");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Mantel");
	var_Items.Add("Mechanik");
	var_Items.Add("Motor");
	var_Items.Add("Murks");
	var_Items.Add("Märchen");
	var_Items.Add("Möhren");
	var_Items.Add("Mühle");
axList1.Columns[0].SortOrder = EXLISTLib.SortOrderEnum.SortAscending;
axList1.EndUpdate();
System.Diagnostics.Debug.Print( axList1.GetItems(1).ToString() );

393
Is posible to reduce the size of the picture to be shown in the column's caption

axList1.BeginUpdate();
axList1.set_HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
axList1.HeaderHeight = 48;
(axList1.Columns.Add("DefaultSize") as EXLISTLib.Column).HTMLCaption = "Default-Size <img>pic1</img> Picture";
(axList1.Columns.Add("CustomSize") as EXLISTLib.Column).HTMLCaption = "Custom-Size <img>pic1:16</img> Picture";
axList1.EndUpdate();

392
How can I change the color, font, bold etc for the items/cells in the same column or for the entire column

axList1.BeginUpdate();
axList1.MarkSearchColumn = false;
EXLISTLib.ConditionalFormat var_ConditionalFormat = axList1.ConditionalFormats.Add("1",null);
	var_ConditionalFormat.Bold = true;
	var_ConditionalFormat.ForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
	var_ConditionalFormat.ApplyTo = (EXLISTLib.FormatApplyToEnum)0x1;
axList1.Columns.Add("C1");
EXLISTLib.Column var_Column = (axList1.Columns.Add("C2") as EXLISTLib.Column);
	var_Column.HeaderBold = true;
	var_Column.HTMLCaption = "<fgcolor=FF0000>C2";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_Caption(var_Items.Add(10),1,11);
	var_Items.set_Caption(var_Items.Add(12),1,13);
axList1.EndUpdate();

391
Is it possible to limit the height of item while resizing the row

// AddItem event - Occurs after a new Item is inserted to Items collection.
private void axList1_AddItem(object sender, AxEXLISTLib._IListEvents_AddItemEvent e)
{
	axList1.Items.set_ItemMinHeight(e.item,18);
	axList1.Items.set_ItemMaxHeight(e.item,72);
}
//this.axList1.AddItem += new AxEXLISTLib._IListEvents_AddItemEventHandler(this.axList1_AddItem);

axList1.BeginUpdate();
axList1.ItemsAllowSizing = EXLISTLib.ItemsAllowSizingEnum.exResizeItem;
axList1.ScrollBySingleLine = false;
axList1.BackColorAlternate = Color.FromArgb(240,240,240);
axList1.Columns.Add("Names");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Mantel");
	var_Items.Add("Mechanik");
	var_Items.Add("Motor");
	var_Items.Add("Murks");
	var_Items.Add("Märchen");
	var_Items.Add("Möhren");
	var_Items.Add("Mühle");
axList1.Columns[0].SortOrder = EXLISTLib.SortOrderEnum.SortAscending;
axList1.EndUpdate();

390
Can I specify un-sortable items so they keep their position once the user sorts the columns

(axList1.Columns.Add("Def") as EXLISTLib.Column).SortType = EXLISTLib.SortTypeEnum.SortNumeric;
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_SortableItem(var_Items.Add("Unsortable"),false);
	var_Items.Add(1);
	var_Items.Add(2);
	var_Items.Add(3);

389
The item is not getting selected when clicking the cell's checkbox. What should I do

// CellStateChanged event - Fired after cell's state is changed.
private void axList1_CellStateChanged(object sender, AxEXLISTLib._IListEvents_CellStateChangedEvent e)
{
	axList1.Items.set_SelectItem(e.itemIndex,true);
}
//this.axList1.CellStateChanged += new AxEXLISTLib._IListEvents_CellStateChangedEventHandler(this.axList1_CellStateChanged);

(axList1.Columns.Add("Check") as EXLISTLib.Column).set_Def(EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add(0);
	var_Items.Add(1);
	var_Items.Add(2);
	var_Items.Add(3);

388
Does your control supports multiple lines tooltip

axList1.set_HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
axList1.ToolTipDelay = 1;
(axList1.Columns.Add("tootip") as EXLISTLib.Column).ToolTip = "<br><font Tahoma;10>This</font> is a <b>multi-lines</b> tooltip assigned to a column. The tooltip supports built-in HTML tags, " +
"icons and pictures.<br><br><br><img>pic1</img> picture ... <br><br>";

387
How can I prevent highlighting the column from the cursor - point

axList1.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAEGg4BI0IQAAYAQGKIYBkAKBQAGaAoDDUOQzQwAAxDKKUEwsACEIrjKCYVgOHYYRrIMYgBCMJhLEoaZLhEZRQiqDYtRDFQBSDDcPw/EaRZohGaYJ" +
"gEgI=");
axList1.set_Background(EXLISTLib.BackgroundPartEnum.exCursorHoverColumn,0x1000000);
(axList1.Columns.Add("S") as EXLISTLib.Column).Width = 32;
(axList1.Columns.Add("Level 1") as EXLISTLib.Column).LevelKey = 1;
(axList1.Columns.Add("Level 2") as EXLISTLib.Column).LevelKey = 1;
(axList1.Columns.Add("Level 3") as EXLISTLib.Column).LevelKey = 1;
(axList1.Columns.Add("E1") as EXLISTLib.Column).Width = 32;
(axList1.Columns.Add("E2") as EXLISTLib.Column).Width = 32;
(axList1.Columns.Add("E3") as EXLISTLib.Column).Width = 32;
(axList1.Columns.Add("E4") as EXLISTLib.Column).Width = 32;

386
Is there any option to show the tooltip programmatically

// MouseMove event - Occurs when the user moves the mouse.
private void axList1_MouseMoveEvent(object sender, AxEXLISTLib._IListEvents_MouseMoveEvent e)
{
	axList1.ShowToolTip(axList1.get_ItemFromPoint(-1,-1,c,hit).ToString(),"","8","8",null);
}
//this.axList1.MouseMoveEvent += new AxEXLISTLib._IListEvents_MouseMoveEventHandler(this.axList1_MouseMoveEvent);

axList1.BeginUpdate();
axList1.Columns.Add("Def");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
axList1.EndUpdate();

385
Is it possible to prevent covering the colors by selected rows

axList1.SelBackMode = EXLISTLib.BackModeEnum.exTransparent;
axList1.BackColorAlternate = Color.FromArgb(240,240,240);
axList1.Columns.Add("Column");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.Add("Item 4");
	var_Items.Add("Item 5");

384
Can I use PNG images to display pictures in the control

axList1.set_HTMLPicture("pic1","c:\\exontrol\\images\\card.png");
axList1.HeaderHeight = 48;
(axList1.Columns.Add("ColumnName") as EXLISTLib.Column).HTMLCaption = "<b>HTML</b> Column <img>pic1</img> Picture";

383
Does your control support conditional format and computed fields

axList1.BeginUpdate();
axList1.MarkSearchColumn = false;
EXLISTLib.ConditionalFormats var_ConditionalFormats = axList1.ConditionalFormats;
	EXLISTLib.ConditionalFormat var_ConditionalFormat = var_ConditionalFormats.Add("%1 >4",null);
		var_ConditionalFormat.Bold = true;
		var_ConditionalFormat.StrikeOut = true;
		var_ConditionalFormat.ForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
		var_ConditionalFormat.ApplyTo = (EXLISTLib.FormatApplyToEnum)0x1;
	EXLISTLib.ConditionalFormat var_ConditionalFormat1 = var_ConditionalFormats.Add("%2 > 4",null);
		var_ConditionalFormat1.Bold = true;
		var_ConditionalFormat1.StrikeOut = true;
		var_ConditionalFormat1.ForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
		var_ConditionalFormat1.ApplyTo = (EXLISTLib.FormatApplyToEnum)0x2;
	EXLISTLib.ConditionalFormat var_ConditionalFormat2 = var_ConditionalFormats.Add("%3 > 4",null);
		var_ConditionalFormat2.Bold = true;
		var_ConditionalFormat2.StrikeOut = true;
		var_ConditionalFormat2.ForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
		var_ConditionalFormat2.ApplyTo = (EXLISTLib.FormatApplyToEnum)0x3;
EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("Name");
	EXLISTLib.Column var_Column = (var_Columns.Add("A") as EXLISTLib.Column);
		var_Column.SortType = EXLISTLib.SortTypeEnum.SortNumeric;
		var_Column.AllowSizing = false;
		var_Column.Width = 36;
		var_Column.FormatColumn = "len(value) ? value + ' +'";
	EXLISTLib.Column var_Column1 = (var_Columns.Add("B") as EXLISTLib.Column);
		var_Column1.SortType = EXLISTLib.SortTypeEnum.SortNumeric;
		var_Column1.AllowSizing = false;
		var_Column1.Width = 36;
		var_Column1.FormatColumn = "len(value) ? value + ' +'";
	EXLISTLib.Column var_Column2 = (var_Columns.Add("C") as EXLISTLib.Column);
		var_Column2.SortType = EXLISTLib.SortTypeEnum.SortNumeric;
		var_Column2.AllowSizing = false;
		var_Column2.Width = 36;
		var_Column2.FormatColumn = "len(value) ? value + ' ='";
	EXLISTLib.Column var_Column3 = (var_Columns.Add("A+B+C") as EXLISTLib.Column);
		var_Column3.SortType = EXLISTLib.SortTypeEnum.SortNumeric;
		var_Column3.AllowSizing = false;
		var_Column3.Width = 64;
		var_Column3.ComputedField = "%1+%2+%3";
		var_Column3.FormatColumn = "((0:=dbl(value)) < 10? '<fgcolor=808080><font ;7>' :'<b>') + currency(=:0)";
		var_Column3.set_Def(EXLISTLib.DefColumnEnum.exCaptionFormat,1);
EXLISTLib.Items var_Items = axList1.Items;
	int h1 = var_Items.Add("Item 1");
	var_Items.set_Caption(h1,1,7);
	var_Items.set_Caption(h1,2,3);
	var_Items.set_Caption(h1,3,1);
	h1 = var_Items.Add("Item 2");
	var_Items.set_Caption(h1,1,2);
	var_Items.set_Caption(h1,2,5);
	var_Items.set_Caption(h1,3,12);
	h1 = var_Items.Add("Item 3");
	var_Items.set_Caption(h1,1,2);
	var_Items.set_Caption(h1,2,2);
	var_Items.set_Caption(h1,3,4);
	h1 = var_Items.Add("Item 4");
	var_Items.set_Caption(h1,1,2);
	var_Items.set_Caption(h1,2,9);
	var_Items.set_Caption(h1,3,4);
axList1.EndUpdate();

382
Is there any way to display the vertical scroll bar on the left side, as I want to align my data to the right

axList1.BeginUpdate();
axList1.ScrollBars = EXLISTLib.ScrollBarsEnum.DisableBoth;
EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	var_Columns.Add("C4");
	var_Columns.Add("C5");
	var_Columns.Add("C6");
	var_Columns.Add("C7");
	var_Columns.Add("C8");
axList1.RightToLeft = true;
axList1.EndUpdate();

381
Can I display the cell's check box after the text

EXLISTLib.Column var_Column = (axList1.Columns.Add("Column") as EXLISTLib.Column);
	var_Column.set_Def(EXLISTLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.set_Def(EXLISTLib.DefColumnEnum.exCellDrawPartsOrder,"caption,check");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_CellHasCheckBox(var_Items.Add("Caption 1"),0,true);
	var_Items.set_CellHasCheckBox(var_Items.Add("Caption 2"),0,true);

380
Can I change the order of the parts in the cell, as checkbox after the text, and so on

axList1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
(axList1.Columns.Add("Column") as EXLISTLib.Column).set_Def(EXLISTLib.DefColumnEnum.exCellDrawPartsOrder,"caption,check,icon,icons,picture");
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("Text");
	var_Items.set_CellImage(h,0,1);
	var_Items.set_CellHasCheckBox(h,0,true);

379
Can I have an image displayed after the text. Can I get that effect without using HTML content

axList1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
(axList1.Columns.Add("Column") as EXLISTLib.Column).set_Def(EXLISTLib.DefColumnEnum.exCellDrawPartsOrder,"caption,icon,check,icons,picture");
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("Text");
	var_Items.set_CellImage(h,0,1);

378
Is there any way to display the vertical scroll bar on the left side, as I want to align my data to the right

axList1.BeginUpdate();
axList1.ScrollBars = EXLISTLib.ScrollBarsEnum.DisableBoth;
EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("C1");
	var_Columns.Add("C2");
	var_Columns.Add("C3");
	var_Columns.Add("C4");
	var_Columns.Add("C5");
	var_Columns.Add("C6");
	var_Columns.Add("C7");
	var_Columns.Add("C8");
axList1.RightToLeft = true;
axList1.EndUpdate();

377
How can I change the foreground color for a particular column

EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as EXLISTLib.Column).set_Def(EXLISTLib.DefColumnEnum.exHeaderForeColor,8439039);
	var_Columns.Add("Column 3");

376
How can I change the background color for a particular column

EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as EXLISTLib.Column).set_Def(EXLISTLib.DefColumnEnum.exHeaderBackColor,8439039);
	var_Columns.Add("Column 3");

375
How can I display the column using currency format and enlarge the font for certain values

EXLISTLib.Column var_Column = (axList1.Columns.Add("Currency") as EXLISTLib.Column);
	var_Column.set_Def(EXLISTLib.DefColumnEnum.exCaptionFormat,1);
	var_Column.FormatColumn = "len(value) ? ((0:=dbl(value)) < 10 ? '<fgcolor=808080><font ;7>' : '<b>') + currency(=:0)";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("1.23");
	var_Items.Add("2.34");
	var_Items.Add("9.94");
	var_Items.Add("11.94");
	var_Items.Add("1000");

374
How can I highlight only parts of the cells

EXLISTLib.Column var_Column = (axList1.Columns.Add("") as EXLISTLib.Column);
	var_Column.set_Def(EXLISTLib.DefColumnEnum.exCaptionFormat,1);
	var_Column.FormatColumn = "value replace 'hil' with '<fgcolor=FF0000><b>hil</b></fgcolor>'";
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("Root");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
	var_Items.Add("Child 3");

373
How can I get the number of occurrences of a specified string in the cell

axList1.Columns.Add("");
EXLISTLib.Column var_Column = (axList1.Columns.Add("occurrences") as EXLISTLib.Column);
	var_Column.ComputedField = "lower(%0) count 'o'";
	var_Column.FormatColumn = "'contains ' + value + ' of \\'o\\' chars'";
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("Root");
	var_Items.Add("Child 1 oooof the root");
	var_Items.Add("Child 2");
	var_Items.Add("Child 3");

372
How can I display dates in my format

EXLISTLib.Column var_Column = (axList1.Columns.Add("Date") as EXLISTLib.Column);
	var_Column.set_Def(EXLISTLib.DefColumnEnum.exCaptionFormat,1);
	var_Column.FormatColumn = "'<b>' + year(0:=date(value)) + '</b><fgcolor=808080><font ;6> (' + month(=:0) + ' - ' + day(=:0) +')'";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add(Convert.ToDateTime("1/21/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/22/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/13/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/24/2004",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

371
How can I display dates in short format

(axList1.Columns.Add("Date") as EXLISTLib.Column).FormatColumn = "shortdate(value)";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/2/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/3/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/4/2004",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

370
How can I display dates in long format

(axList1.Columns.Add("Date") as EXLISTLib.Column).FormatColumn = "longdate(value)";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add(Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/2/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/3/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/4/2004",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

369
How can I display only the right part of the cell

axList1.Columns.Add("");
EXLISTLib.Column var_Column = (axList1.Columns.Add("Right") as EXLISTLib.Column);
	var_Column.ComputedField = "%0 right 2";
	var_Column.FormatColumn = "'\"' + value + '\"'";
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("Root");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
	var_Items.Add("SChild 3");

368
How can I display only the left part of the cell

axList1.Columns.Add("");
(axList1.Columns.Add("Left") as EXLISTLib.Column).ComputedField = "%0 left 2";
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("Root");
	var_Items.Add("Child 1");
	var_Items.Add("Child 2");
	var_Items.Add("SChild 3");

367
How can I display true or false instead 0 and -1

(axList1.Columns.Add("Boolean") as EXLISTLib.Column).FormatColumn = "value != 0 ? 'true' : 'false'";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add(true);
	var_Items.Add(false);
	var_Items.Add(true);
	var_Items.Add(0);
	var_Items.Add(1);

366
How can I display icons or images instead numbers

axList1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
EXLISTLib.Column var_Column = (axList1.Columns.Add("Icons") as EXLISTLib.Column);
	var_Column.set_Def(EXLISTLib.DefColumnEnum.exCaptionFormat,1);
	var_Column.FormatColumn = "'The cell displays the icon <img>'+value+'</img> instead ' + value";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add(1);
	var_Items.Add(2);
	var_Items.Add(3);

365
How can I display the column using currency

(axList1.Columns.Add("Currency") as EXLISTLib.Column).FormatColumn = "currency(dbl(value))";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("1.23");
	var_Items.Add("2.34");
	var_Items.Add("0");
	var_Items.Add(5);
	var_Items.Add("10000.99");

364
Is is possible to use HTML tags to display in the filter caption

axList1.BeginUpdate();
axList1.FilterBarPromptVisible = true;
axList1.FilterBarCaption = "This is a bit of text being displayed in the filter bar.";
axList1.Columns.Add("");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
axList1.EndUpdate();

363
How can I find the number of items after filtering
axList1.BeginUpdate();
axList1.Columns.Add("");
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("");
	var_Items.set_Caption(h,0,var_Items.VisibleItemCount);
axList1.EndUpdate();

362
How can I change the filter caption

axList1.BeginUpdate();
axList1.ColumnAutoResize = true;
axList1.ContinueColumnScroll = false;
axList1.MarkSearchColumn = false;
axList1.SearchColumnIndex = 1;
axList1.FilterBarPromptVisible = true;
axList1.FilterBarPromptType = EXLISTLib.FilterPromptEnum.exFilterPromptWords | EXLISTLib.FilterPromptEnum.exFilterPromptContainsAll;
axList1.FilterBarPromptPattern = "london robert";
axList1.FilterBarCaption = "<r>Found: ... ";
EXLISTLib.Columns var_Columns = axList1.Columns;
	(var_Columns.Add("Name") as EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
EXLISTLib.Items var_Items = axList1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
axList1.EndUpdate();

361
While using the filter prompt is it is possible to use wild characters

axList1.BeginUpdate();
axList1.ColumnAutoResize = true;
axList1.ContinueColumnScroll = false;
axList1.MarkSearchColumn = false;
axList1.SearchColumnIndex = 1;
axList1.FilterBarPromptVisible = true;
axList1.FilterBarPromptType = EXLISTLib.FilterPromptEnum.exFilterPromptPattern;
axList1.FilterBarPromptPattern = "lon* seat*";
EXLISTLib.Columns var_Columns = axList1.Columns;
	(var_Columns.Add("Name") as EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
EXLISTLib.Items var_Items = axList1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
axList1.EndUpdate();

360
How can I list all items that contains any of specified words, not necessary at the beggining

axList1.BeginUpdate();
axList1.ColumnAutoResize = true;
axList1.ContinueColumnScroll = false;
axList1.MarkSearchColumn = false;
axList1.SearchColumnIndex = 1;
axList1.FilterBarPromptVisible = true;
axList1.FilterBarPromptType = EXLISTLib.FilterPromptEnum.exFilterPromptStartWords | EXLISTLib.FilterPromptEnum.exFilterPromptContainsAny;
axList1.FilterBarPromptPattern = "london davolio";
EXLISTLib.Columns var_Columns = axList1.Columns;
	(var_Columns.Add("Name") as EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
EXLISTLib.Items var_Items = axList1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
axList1.EndUpdate();

359
How can I list all items that contains any of specified words, not strings

axList1.BeginUpdate();
axList1.ColumnAutoResize = true;
axList1.ContinueColumnScroll = false;
axList1.MarkSearchColumn = false;
axList1.SearchColumnIndex = 1;
axList1.FilterBarPromptVisible = true;
axList1.FilterBarPromptType = EXLISTLib.FilterPromptEnum.exFilterPromptWords | EXLISTLib.FilterPromptEnum.exFilterPromptContainsAny;
axList1.FilterBarPromptPattern = "london nancy";
EXLISTLib.Columns var_Columns = axList1.Columns;
	(var_Columns.Add("Name") as EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
EXLISTLib.Items var_Items = axList1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
axList1.EndUpdate();

358
How can I list all items that contains all specified words, not strings

axList1.BeginUpdate();
axList1.ColumnAutoResize = true;
axList1.ContinueColumnScroll = false;
axList1.MarkSearchColumn = false;
axList1.SearchColumnIndex = 1;
axList1.FilterBarPromptVisible = true;
axList1.FilterBarPromptType = EXLISTLib.FilterPromptEnum.exFilterPromptWords | EXLISTLib.FilterPromptEnum.exFilterPromptContainsAll;
axList1.FilterBarPromptPattern = "london robert";
EXLISTLib.Columns var_Columns = axList1.Columns;
	(var_Columns.Add("Name") as EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
EXLISTLib.Items var_Items = axList1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
axList1.EndUpdate();

357
I've noticed that the filtering by prompt is not case sensitive, is is possible to make it case sensitive

axList1.BeginUpdate();
axList1.ColumnAutoResize = true;
axList1.ContinueColumnScroll = false;
axList1.MarkSearchColumn = false;
axList1.SearchColumnIndex = 1;
axList1.FilterBarPromptVisible = true;
axList1.FilterBarPromptType = EXLISTLib.FilterPromptEnum.exFilterPromptCaseSensitive | EXLISTLib.FilterPromptEnum.exFilterPromptContainsAny;
axList1.FilterBarPromptPattern = "Anne";
EXLISTLib.Columns var_Columns = axList1.Columns;
	(var_Columns.Add("Name") as EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
EXLISTLib.Items var_Items = axList1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
axList1.EndUpdate();

356
Is it possible to list only items that ends with any of specified strings

axList1.BeginUpdate();
axList1.ColumnAutoResize = true;
axList1.ContinueColumnScroll = false;
axList1.MarkSearchColumn = false;
axList1.SearchColumnIndex = 1;
axList1.FilterBarPromptVisible = true;
axList1.FilterBarPromptType = EXLISTLib.FilterPromptEnum.exFilterPromptEndWith;
axList1.FilterBarPromptColumns = "0";
axList1.FilterBarPromptPattern = "Fuller";
EXLISTLib.Columns var_Columns = axList1.Columns;
	(var_Columns.Add("Name") as EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
EXLISTLib.Items var_Items = axList1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
axList1.EndUpdate();

355
Is it possible to list only items that ends with any of specified strings

axList1.BeginUpdate();
axList1.ColumnAutoResize = true;
axList1.ContinueColumnScroll = false;
axList1.MarkSearchColumn = false;
axList1.SearchColumnIndex = 1;
axList1.FilterBarPromptVisible = true;
axList1.FilterBarPromptType = EXLISTLib.FilterPromptEnum.exFilterPromptEndWith;
axList1.FilterBarPromptColumns = "0";
axList1.FilterBarPromptPattern = "Fuller";
EXLISTLib.Columns var_Columns = axList1.Columns;
	(var_Columns.Add("Name") as EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
EXLISTLib.Items var_Items = axList1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
axList1.EndUpdate();

354
Is it possible to list only items that starts with any of specified strings

axList1.BeginUpdate();
axList1.ColumnAutoResize = true;
axList1.ContinueColumnScroll = false;
axList1.MarkSearchColumn = false;
axList1.SearchColumnIndex = 1;
axList1.FilterBarPromptVisible = true;
axList1.FilterBarPromptType = EXLISTLib.FilterPromptEnum.exFilterPromptStartWith;
axList1.FilterBarPromptColumns = "0";
axList1.FilterBarPromptPattern = "An M";
EXLISTLib.Columns var_Columns = axList1.Columns;
	(var_Columns.Add("Name") as EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
EXLISTLib.Items var_Items = axList1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
axList1.EndUpdate();

353
Is it possible to list only items that starts with specified string

axList1.BeginUpdate();
axList1.ColumnAutoResize = true;
axList1.ContinueColumnScroll = false;
axList1.MarkSearchColumn = false;
axList1.SearchColumnIndex = 1;
axList1.FilterBarPromptVisible = true;
axList1.FilterBarPromptType = EXLISTLib.FilterPromptEnum.exFilterPromptStartWith;
axList1.FilterBarPromptColumns = "0";
axList1.FilterBarPromptPattern = "A";
EXLISTLib.Columns var_Columns = axList1.Columns;
	(var_Columns.Add("Name") as EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
EXLISTLib.Items var_Items = axList1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
axList1.EndUpdate();

352
How can I specify that the list should include any of the seqeunces in the pattern

axList1.BeginUpdate();
axList1.ColumnAutoResize = true;
axList1.ContinueColumnScroll = false;
axList1.MarkSearchColumn = false;
axList1.SearchColumnIndex = 1;
axList1.FilterBarPromptVisible = true;
axList1.FilterBarPromptType = EXLISTLib.FilterPromptEnum.exFilterPromptContainsAny;
axList1.FilterBarPromptPattern = "london seattle";
EXLISTLib.Columns var_Columns = axList1.Columns;
	(var_Columns.Add("Name") as EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
EXLISTLib.Items var_Items = axList1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
axList1.EndUpdate();

351
How can I specify that all sequences in the filter pattern must be included in the list

axList1.BeginUpdate();
axList1.ColumnAutoResize = true;
axList1.ContinueColumnScroll = false;
axList1.MarkSearchColumn = false;
axList1.SearchColumnIndex = 1;
axList1.FilterBarPromptVisible = true;
axList1.FilterBarPromptType = EXLISTLib.FilterPromptEnum.exFilterPromptContainsAll;
axList1.FilterBarPromptPattern = "london manager";
EXLISTLib.Columns var_Columns = axList1.Columns;
	(var_Columns.Add("Name") as EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
EXLISTLib.Items var_Items = axList1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
axList1.EndUpdate();

350
How do I change at runtime the filter prompt

axList1.BeginUpdate();
axList1.ColumnAutoResize = true;
axList1.ContinueColumnScroll = false;
axList1.MarkSearchColumn = false;
axList1.SearchColumnIndex = 1;
axList1.FilterBarPromptVisible = true;
axList1.FilterBarPromptPattern = "london manager";
EXLISTLib.Columns var_Columns = axList1.Columns;
	(var_Columns.Add("Name") as EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
EXLISTLib.Items var_Items = axList1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
axList1.EndUpdate();

349
How do I specify to filter only a single column when using the filter prompt

axList1.BeginUpdate();
axList1.ColumnAutoResize = true;
axList1.ContinueColumnScroll = false;
axList1.MarkSearchColumn = false;
axList1.SearchColumnIndex = 1;
axList1.FilterBarPromptVisible = true;
axList1.FilterBarPromptColumns = "2,3";
axList1.FilterBarPromptPattern = "london";
EXLISTLib.Columns var_Columns = axList1.Columns;
	(var_Columns.Add("Name") as EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
EXLISTLib.Items var_Items = axList1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
axList1.EndUpdate();

348
How do I change the prompt or the caption being displayed in the filter bar

axList1.BeginUpdate();
axList1.ColumnAutoResize = true;
axList1.ContinueColumnScroll = false;
axList1.MarkSearchColumn = false;
axList1.SearchColumnIndex = 1;
axList1.FilterBarPromptVisible = true;
axList1.FilterBarPrompt = "changed";
EXLISTLib.Columns var_Columns = axList1.Columns;
	(var_Columns.Add("Name") as EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
axList1.EndUpdate();

347
How do I enable the filter prompt feature

axList1.BeginUpdate();
axList1.ColumnAutoResize = true;
axList1.ContinueColumnScroll = false;
axList1.MarkSearchColumn = false;
axList1.SearchColumnIndex = 1;
axList1.FilterBarPromptVisible = true;
EXLISTLib.Columns var_Columns = axList1.Columns;
	(var_Columns.Add("Name") as EXLISTLib.Column).Width = 96;
	(var_Columns.Add("Title") as EXLISTLib.Column).Width = 96;
	var_Columns.Add("City");
EXLISTLib.Items var_Items = axList1.Items;
	int h0 = var_Items.Add("Nancy Davolio");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Andrew Fuller");
	var_Items.set_Caption(h0,1,"Vice President, Sales");
	var_Items.set_Caption(h0,2,"Tacoma");
	var_Items.set_SelectItem(h0,true);
	h0 = var_Items.Add("Janet Leverling");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Kirkland");
	h0 = var_Items.Add("Margaret Peacock");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"Redmond");
	h0 = var_Items.Add("Steven Buchanan");
	var_Items.set_Caption(h0,1,"Sales Manager");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Michael Suyama");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Robert King");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
	h0 = var_Items.Add("Laura Callahan");
	var_Items.set_Caption(h0,1,"Inside Sales Coordinator");
	var_Items.set_Caption(h0,2,"Seattle");
	h0 = var_Items.Add("Anne Dodsworth");
	var_Items.set_Caption(h0,1,"Sales Representative");
	var_Items.set_Caption(h0,2,"London");
axList1.EndUpdate();

346
Is it possible to change the style for the vertical or horizontal grid lines, in the list area

axList1.BeginUpdate();
axList1.DrawGridLines = EXLISTLib.GridLinesEnum.exAllLines;
axList1.GridLineStyle = EXLISTLib.GridLinesStyleEnum.exGridLinesVSolid | EXLISTLib.GridLinesStyleEnum.exGridLinesHDot4;
axList1.Columns.Add("C1");
axList1.Columns.Add("C2");
axList1.Columns.Add("C3");
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("Item 1");
	var_Items.set_Caption(h,1,"SubItem 1.2");
	var_Items.set_Caption(h,2,"SubItem 1.3");
	h = var_Items.Add("Item 2");
	var_Items.set_Caption(h,1,"SubItem 2.2");
	var_Items.set_Caption(h,2,"SubItem 2.3");
axList1.EndUpdate();

345
Is it possible to change the style for the grid lines, for instance to be solid not dotted

axList1.BeginUpdate();
axList1.DrawGridLines = EXLISTLib.GridLinesEnum.exAllLines;
axList1.GridLineStyle = EXLISTLib.GridLinesStyleEnum.exGridLinesSolid;
axList1.Columns.Add("Column");
axList1.EndUpdate();

344
How can I filter programatically using more columns

axList1.BeginUpdate();
axList1.MarkSearchColumn = false;
EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("Car");
	var_Columns.Add("Equipment");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_Caption(var_Items.Add("Mazda"),1,"Air Bag");
	var_Items.set_Caption(var_Items.Add("Toyota"),1,"Air Bag,Air condition");
	var_Items.set_Caption(var_Items.Add("Ford"),1,"Air condition");
	var_Items.set_Caption(var_Items.Add("Nissan"),1,"Air Bag,ABS,ESP");
	var_Items.set_Caption(var_Items.Add("Mazda"),1,"Air Bag, ABS,ESP");
	var_Items.set_Caption(var_Items.Add("Mazda"),1,"ABS,ESP");
EXLISTLib.Column var_Column = axList1.Columns["Car"];
	var_Column.FilterType = EXLISTLib.FilterTypeEnum.exFilter;
	var_Column.Filter = "Mazda";
EXLISTLib.Column var_Column1 = axList1.Columns["Equipment"];
	var_Column1.FilterType = EXLISTLib.FilterTypeEnum.exPattern;
	var_Column1.Filter = "*ABS*|*ESP*";
axList1.ApplyFilter();
axList1.EndUpdate();

343
How do I find an item based on my extra data

axList1.Columns.Add("Default");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.set_ItemData(var_Items.Add("Item 3"),1234);
	var_Items.Add("Item 4");
	var_Items.set_ItemBold(var_Items.get_FindItemData(1234,null),true);

342
How do I print the control's content

axList1.BeginUpdate();
axList1.Columns.Add("Number");
(axList1.Columns.Add("Currency") as EXLISTLib.Column).ComputedField = "len(%0) ? currency(dbl(%0)) : ''";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("1.23");
	var_Items.Add("2.34");
	var_Items.Add("0");
	var_Items.set_ItemBackColor(var_Items.Add(null),(uint)ColorTranslator.ToWin32(Color.FromArgb(255,128,128)));
	var_Items.Add("10000.99");
axList1.EndUpdate();
// Add 'ExPrint 1.0 Control Library(ExPrint.dll)' reference to your project.
EXPRINTLib.Print var_Print = new EXPRINTLib.Print();
	var_Print.PrintExt = (axList1.GetOcx() as EXLISTLib.List);
	var_Print.Preview();

341
How can I display the currency only for not empty cells
axList1.Columns.Add("Number");
(axList1.Columns.Add("Currency") as EXLISTLib.Column).ComputedField = "len(%0) ? currency(dbl(%0)) : ''";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("1.23");
	var_Items.Add("2.34");
	var_Items.Add("0");
	var_Items.set_ItemBackColor(var_Items.Add(null),(uint)ColorTranslator.ToWin32(Color.FromArgb(255,128,128)));
	var_Items.Add("10000.99");

340
Is there a function to display the number of days between two date including the number of hours

(axList1.Columns.Add("Start") as EXLISTLib.Column).Width = 32;
axList1.Columns.Add("End");
(axList1.Columns.Add("Duration") as EXLISTLib.Column).ComputedField = "2:=((1:=int(0:= date(%1)-date(%0))) = 0 ? '' : str(=:1) + ' day(s)') + ( 3:=round(24*(=:0-floor(=:0))) ? (len(=:2) ? ' and ' : " +
"'') + =:3 + ' hour(s)' : '' )";
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add(Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,1,Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.Add(Convert.ToDateTime("2/22/2002 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,1,Convert.ToDateTime("3/14/2002 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.Add(Convert.ToDateTime("3/13/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,1,Convert.ToDateTime("4/11/2003 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

339
Is there a function to display the number of days between two date including the number of hours

axList1.Columns.Add("Start");
axList1.Columns.Add("End");
(axList1.Columns.Add("Duration") as EXLISTLib.Column).ComputedField = "\"D \" + int(date(%1)-date(%0)) + \" H \" + round(24*(date(%1)-date(%0) - floor(date(%1)-date(%0))))";
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add(Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,1,Convert.ToDateTime("1/14/2001 23:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.Add(Convert.ToDateTime("2/22/2002 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,1,Convert.ToDateTime("3/14/2002 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.Add(Convert.ToDateTime("3/13/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,1,Convert.ToDateTime("4/11/2003 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

338
How can I display the number of days between two dates

axList1.Columns.Add("Start");
axList1.Columns.Add("End");
(axList1.Columns.Add("Duration") as EXLISTLib.Column).ComputedField = "(date(%1)-date(%0)) + ' days'";
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add(Convert.ToDateTime("1/11/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,1,Convert.ToDateTime("1/14/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.Add(Convert.ToDateTime("2/22/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,1,Convert.ToDateTime("3/14/2002",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	h = var_Items.Add(Convert.ToDateTime("3/13/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.set_Caption(h,1,Convert.ToDateTime("4/11/2003",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

337
How can I get second part of the date

axList1.Columns.Add("Date");
(axList1.Columns.Add("Second") as EXLISTLib.Column).ComputedField = "sec(date(%0))";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add(Convert.ToDateTime("1/11/2001 10:10:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/22/2002 11:01:22",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/13/2003 12:23:01",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/14/2004 13:11:59",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

336
How can I get minute part of the date

axList1.Columns.Add("Date");
(axList1.Columns.Add("Minute") as EXLISTLib.Column).ComputedField = "min(date(%0))";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add(Convert.ToDateTime("1/11/2001 10:10:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/22/2002 11:01:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/13/2003 12:23:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/14/2004 13:11:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

335
How can I check the hour part only so I know it was afternoon

axList1.ConditionalFormats.Add("hour(%0)>=12",null).Bold = true;
axList1.Columns.Add("Date");
(axList1.Columns.Add("Hour") as EXLISTLib.Column).ComputedField = "hour(%0)";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add(Convert.ToDateTime("1/11/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/22/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/13/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/14/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

334
What about a function to get the day in the week, or days since Sunday

axList1.Columns.Add("Date");
(axList1.Columns.Add("WeekDay") as EXLISTLib.Column).ComputedField = "weekday(%0)";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add(Convert.ToDateTime("1/11/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/22/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/13/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/14/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

333
Is there any function to get the day of the year or number of days since January 1st

axList1.Columns.Add("Date");
(axList1.Columns.Add("Day since January 1st") as EXLISTLib.Column).ComputedField = "yearday(%0)";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add(Convert.ToDateTime("1/11/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/22/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/13/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/14/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

332
How can I display only the day of the date

axList1.Columns.Add("Date");
(axList1.Columns.Add("Day") as EXLISTLib.Column).ComputedField = "day(%0)";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add(Convert.ToDateTime("1/11/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/22/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/13/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/14/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

331
How can I display only the month of the date

axList1.Columns.Add("Date");
(axList1.Columns.Add("Month") as EXLISTLib.Column).ComputedField = "month(%0)";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/2/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/3/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/4/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

330
How can I get only the year part from a date expression

axList1.Columns.Add("Date");
(axList1.Columns.Add("Year") as EXLISTLib.Column).ComputedField = "year(%0)";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/2/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/3/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/4/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

329
Can I convert the expression to date

axList1.Columns.Add("Number");
(axList1.Columns.Add("Date") as EXLISTLib.Column).ComputedField = "date(dbl(%0))";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("-1.98");
	var_Items.Add("30000.99");
	var_Items.Add("3561.23");
	var_Items.Add("1232.34");

328
Can I convert the expression to a number, double or float

axList1.Columns.Add("Number");
(axList1.Columns.Add("Number + 2") as EXLISTLib.Column).ComputedField = "dbl(%0)+2";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("-1.98");
	var_Items.Add("0.99");
	var_Items.Add("1.23");
	var_Items.Add("2.34");

327
How can I display dates in long format

axList1.Columns.Add("Date");
(axList1.Columns.Add("LongFormat") as EXLISTLib.Column).ComputedField = "longdate(%0)";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/2/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/3/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/4/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

326
How can I display dates in short format

axList1.Columns.Add("Date");
(axList1.Columns.Add("ShortFormat") as EXLISTLib.Column).ComputedField = "shortdate(%0)";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/2/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/3/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/4/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

325
How can I display the time only of a date expression

axList1.Columns.Add("Date");
(axList1.Columns.Add("Time") as EXLISTLib.Column).ComputedField = "'time is:' + time(date(%0))";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add(Convert.ToDateTime("1/1/2001 10:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("2/2/2002 11:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("3/3/2003 12:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
	var_Items.Add(Convert.ToDateTime("4/4/2004 13:00:00",System.Globalization.CultureInfo.GetCultureInfo("en-US")));

324
Is there any function to display currencies, or money formatted as in the control panel

axList1.Columns.Add("Number");
(axList1.Columns.Add("Currency") as EXLISTLib.Column).ComputedField = "currency(dbl(%0))";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("1.23");
	var_Items.Add("2.34");
	var_Items.Add("10000.99");

323
How can I convert the expression to a string so I can look into the date string expression for month's name

axList1.Columns.Add("Number");
(axList1.Columns.Add("Str") as EXLISTLib.Column).ComputedField = "str(%0) + ' AA'";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("-1.98");
	var_Items.Add("0.99");
	var_Items.Add("1.23");
	var_Items.Add("2.34");

322
Can I display the absolute value or positive part of the number

axList1.Columns.Add("Number");
(axList1.Columns.Add("Abs") as EXLISTLib.Column).ComputedField = "abs(%0)";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("-1.98");
	var_Items.Add("0.99");
	var_Items.Add("1.23");
	var_Items.Add("2.34");

321
Is there any function to get largest number with no fraction part that is not greater than the value

axList1.Columns.Add("Number");
(axList1.Columns.Add("Floor") as EXLISTLib.Column).ComputedField = "floor(%0)";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("-1.98");
	var_Items.Add("0.99");
	var_Items.Add("1.23");
	var_Items.Add("2.34");

320
Is there any function to round the values base on the .5 value

axList1.Columns.Add("Number");
(axList1.Columns.Add("Round") as EXLISTLib.Column).ComputedField = "round(%0)";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("-1.98");
	var_Items.Add("0.99");
	var_Items.Add("1.23");
	var_Items.Add("2.34");

319
How can I get or display the integer part of the cell

axList1.Columns.Add("Number");
(axList1.Columns.Add("Int") as EXLISTLib.Column).ComputedField = "int(%0)";
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("-1.98");
	var_Items.Add("0.99");
	var_Items.Add("1.23");
	var_Items.Add("2.34");

318
How can I display names as proper ( first leter of the word must be in uppercase, and the rest in lowercase )

(axList1.Columns.Add("") as EXLISTLib.Column).ComputedField = "proper(%0)";
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("Item 1");
	var_Items.Add("item item");
	var_Items.Add("item item");
	var_Items.Add("item item");

317
Is there any option to display cells in uppercase

(axList1.Columns.Add("") as EXLISTLib.Column).ComputedField = "upper(%0)";
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.Add("Item 4 - child");

316
Is there any option to display cells in lowercase

(axList1.Columns.Add("") as EXLISTLib.Column).ComputedField = "lower(%0)";
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.Add("Item 4 - child");

315
How can I mark the cells that has a specified type, ie strings only

axList1.ConditionalFormats.Add("type(%0) = 8",null).ForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
axList1.Columns.Add("");
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add(2);
	var_Items.Add("Item 4 - child");

314
How can I bold the items that contains data or those who displays empty strings

axList1.ConditionalFormats.Add("not len(%1)=0",null).Bold = true;
axList1.Columns.Add("C1");
axList1.Columns.Add("C2");
EXLISTLib.Items var_Items = axList1.Items;
	int h = var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	int hC = var_Items.Add("Item 3");
	var_Items.set_Caption(hC,1,"1");
	var_Items.Add("Item 3");

313
Can I change the background color for items or cells that contains a specified string

axList1.ConditionalFormats.Add("%0 contains 'hi'",null).BackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
axList1.Columns.Add("");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.Add("Item 4 - child");

312
Is there any option to change the fore color for cells or items that ends with a specified string

axList1.ConditionalFormats.Add("%0 endwith '22'",null).ForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
axList1.Columns.Add("");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 1.22");
	var_Items.Add("Item 2.22");

311
How can I highlight the cells or items that starts with a specified string

axList1.ConditionalFormats.Add("%0 startwith 'C'",null).Underline = true;
axList1.Columns.Add("");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("CItem 2");
	var_Items.Add("Item 3");
	var_Items.Add("Item 4");

310
How can I change the foreground color for a particular column

EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as EXLISTLib.Column).set_Def(EXLISTLib.DefColumnEnum.exHeaderForeColor,8439039);
	var_Columns.Add("Column 3");

309
How can I change the background color for a particular column

EXLISTLib.Columns var_Columns = axList1.Columns;
	var_Columns.Add("Column 1");
	(var_Columns.Add("Column 2") as EXLISTLib.Column).set_Def(EXLISTLib.DefColumnEnum.exHeaderBackColor,8439039);
	var_Columns.Add("Column 3");

308
How can I display the column's header using multiple lines

axList1.HeaderHeight = 128;
axList1.HeaderSingleLine = false;
(axList1.Columns.Add("This is just a column that should break the header.") as EXLISTLib.Column).Width = 32;
axList1.Columns.Add("This is just another column that should break the header.");

307
How can I align the text/caption on the scroll bar

axList1.set_ScrollPartCaption(EXLISTLib.ScrollBarEnum.exHScroll,EXLISTLib.ScrollPartEnum.exLowerBackPart,"left");
axList1.set_ScrollPartCaptionAlignment(EXLISTLib.ScrollBarEnum.exHScroll,EXLISTLib.ScrollPartEnum.exLowerBackPart,EXLISTLib.AlignmentEnum.LeftAlignment);
axList1.set_ScrollPartCaption(EXLISTLib.ScrollBarEnum.exHScroll,EXLISTLib.ScrollPartEnum.exUpperBackPart,"right");
axList1.set_ScrollPartCaptionAlignment(EXLISTLib.ScrollBarEnum.exHScroll,EXLISTLib.ScrollPartEnum.exUpperBackPart,EXLISTLib.AlignmentEnum.RightAlignment);
axList1.ColumnAutoResize = false;
axList1.Columns.Add(1.ToString());
axList1.Columns.Add(2.ToString());
axList1.Columns.Add(3.ToString());
axList1.Columns.Add(4.ToString());
axList1.Columns.Add(5.ToString());
axList1.Columns.Add(6.ToString());

306
How do I select the next row/item

axList1.Columns.Add("Column");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item 1");
	var_Items.Add("Item 2");
	var_Items.Add("Item 3");
	var_Items.set_SelectItem(var_Items.get_NextVisibleItem(var_Items.FocusItem),true);

305
How do I enable resizing ( changing the height ) the items at runtime

axList1.ItemsAllowSizing = EXLISTLib.ItemsAllowSizingEnum.exResizeItem;
axList1.DrawGridLines = EXLISTLib.GridLinesEnum.exHLines;
axList1.ScrollBySingleLine = true;
axList1.Columns.Add("Column");
axList1.Items.Add("Item 1");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_ItemHeight(var_Items.Add("Item 2"),48);
axList1.Items.Add("Item 3");
axList1.Items.Add("Item 4");

304
How do I enable resizing all the items at runtime

axList1.ItemsAllowSizing = EXLISTLib.ItemsAllowSizingEnum.exResizeAllItems;
axList1.DrawGridLines = EXLISTLib.GridLinesEnum.exHLines;
axList1.Columns.Add("Column");
axList1.Items.Add("Item 1");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.set_ItemHeight(var_Items.Add("Item 2"),48);
axList1.Items.Add("Item 3");

303
How can I remove the filter

EXLISTLib.Column var_Column = (axList1.Columns.Add("Column") as EXLISTLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = EXLISTLib.FilterTypeEnum.exBlanks;
axList1.ApplyFilter();
axList1.ClearFilter();

302
How do I change the control's border, using your EBN files

axList1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axList1.Appearance = (EXLISTLib.AppearanceEnum)0x1000000;

301
Can I change the style for break or divider line

axList1.Columns.Add("Default");
EXLISTLib.Items var_Items = axList1.Items;
	var_Items.Add("Item 1");
	int h = var_Items.Add(null);
	var_Items.set_ItemBreak(h,EXLISTLib.BreakLineEnum.DoubleLine);
	var_Items.set_SelectableItem(h,false);
	var_Items.Add("Item 3");